package com.fast.alden.data.repo;

import com.fast.alden.data.model.SysMenu;
import com.fast.alden.data.model.SysMenuType;

import java.util.Optional;

public interface SysMenuRepository extends BaseEntityRepository<SysMenu> {
    Optional<SysMenu> findByTypeEqualsAndRouteEquals(SysMenuType type, String route);
}
